from django.urls import include, path
from rest_framework.routers import DefaultRouter

from apps.equipment_maintenance_plan.views import MaintenanceScheduleViewSet, MaintenanceScheduleContentViewSet, PolisheLineViewSet

router = DefaultRouter()
router.register(r'maintenance_schedule', MaintenanceScheduleViewSet)
router.register(r'maintenance_schedule_content', MaintenanceScheduleContentViewSet)
router.register(r'polish_line', PolisheLineViewSet)

app_name = 'equipment_maintenance_plan'
urlpatterns = [
    path('', include(router.urls)),
]